package top.sigetech.springcloud.service;


import org.springframework.web.bind.annotation.PathVariable;
import top.sigetech.springcloud.entity.Payment;

public interface PaymentService {
    int add(Payment payment);

    Payment getPaymentById(Long id);


    String paymentInfo_OK(Integer id);
    String paymentInfo_NotOK(Integer id);

    public String pyamentCircuitBreaker(@PathVariable("id") Integer id);
}
